import request from '@/router/axios';
//查找表格
export const sendMsgToBuyers = (data) => {
    return request({
        url: '/msg/message/sendMsgToBuyers',
        method: 'post',
        meta: {
            isSerialize: true,
        },
        data: {
            ...data
        }
    })
}

export const getBuysByPhone = (page,size,params,) => {
    return request({
        url: '/api/mgr/getBuysByPhone',
        method: 'post',
        meta: {
            isSerialize: true,
        },
        data: {
            page,
            size,
            ...params
        }
    })
}

export const getMsgToBuyers = (page,size,params,) => {
    return request({
        url: '/msg/message/getMsgToBuyers',
        method: 'post',
        meta: {
            isSerialize: true,
        },
        data: {
            page,
            size,
            ...params
        }
    })
}